package main

import "fmt"

func main() {
	test()
}

func test() {
	// defer will be invocated
	defer func() {
		r := recover()
		if r != nil {
			fmt.Printf("Handle err: %+v\n", r)
		}
		fmt.Printf("Doing recover\n")
	}()

	fmt.Printf("Helllo\n")
}
